package com.moli.lumpSugar.user.service;










import com.moli.lumpSugar.user.domain.dto.ItemInfoDTO;
import com.moli.lumpSugar.user.domain.dto.SummeryInfoDTO;
import com.moli.lumpSugar.user.domain.entity.User;
import com.moli.lumpSugar.user.domain.vo.req.user.BlackReq;
import com.moli.lumpSugar.user.domain.vo.req.user.ItemInfoReq;
import com.moli.lumpSugar.user.domain.vo.req.user.SummeryInfoReq;
import com.moli.lumpSugar.user.domain.vo.resp.BadgeResp;
import com.moli.lumpSugar.user.domain.vo.resp.UserInfoResp;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author zhangjt
 * @since 2024-08-16
 */
public interface UserService {
    Long register(User user);

    UserInfoResp queryUserInfo(Long uid);

    void updateUserName(Long uid,String name);

    List<BadgeResp> getBadges(Long uid);

    void waringBadge(Long uid, Long itemId);

    void black(BlackReq req);
    UserInfoResp getUserInfo(Long uid);

    List<SummeryInfoDTO> getSummeryUserInfo(SummeryInfoReq req);

    List<ItemInfoDTO> getItemInfo(ItemInfoReq req);

    User getUser(Long uid);

    User getUserByOpenId(String openId);

    List<User> getUserListByIds(List<Long> ids);

    Boolean updateUserById(User user);
}
